<template>
  <div class="">
    <i-tabs current="{{ current }}" :change="handleChange">
    <i-tab key="tab1" title="选项1"></i-tab>
    <i-tab key="tab2" title="选项2"></i-tab>
    <i-tab key="tab3" title="选项3"></i-tab>
</i-tabs>
  </div>
</template>

<script>
export default {
  name: '',
  data() { 
    return {
        current: 'tab2'
    }
  },
  methods: {
    handleChange(key) {
      current = key
    }
  }
 }
</script>

<style lang="scss" scoped>
</style>